//
//  MinjuCell.swift
//  BWNetworkKit_Example
//
//  Created by zhuxuhong on 2022/3/3.
//  Copyright © 2022 CocoaPods. All rights reserved.
//

import BWUIKit

class MinjuCell: TableViewCell {
    @IBOutlet weak var authorLb: UILabel!
    @IBOutlet weak var contentLb: UILabel!
    @IBOutlet weak var sourceLb: UILabel!
    
    override func bwListItemViewConfigure(_ data: Any?, indexPath: IndexPath) {
        guard let data = data as? Mingju else {
            return
        }
        authorLb.text = "\(data.author ?? "--")"
        contentLb.text = "\(data.nameStr)"
        sourceLb.text = "《\(data.source ?? "--")》"
    }
}
